package com.zf.rpc.transport;

import com.zf.rpc.entity.RpcRequest;
import com.zf.rpc.serializer.CommonSerializer;

/**
 * @ProjectName: RPC-zhaofeng
 * @Package: com.zf.rpc.transport.socket
 * @ClassName: RpcClient
 * @Author: zf
 * @Description:客户端通用接口
 * @Date: 2021/5/7 20:37
 * @Version: 1.0
 */
public interface RpcClient {

    int DEFAULT_SERIALIZER = CommonSerializer.KRYO_SERIALIZER;

    Object sendRequest(RpcRequest rpcRequest);

}
